
public class Homework4 {

	public static void main(String[] args) {
		int moneys[][] = { { 22, 66, 44 }, { 77, 33, 88 }, { 25, 45, 65 }, { 11, 66, 99 } };
		for (int i = 0; i < moneys.length; i++) {
			int sum = 0;
			for (int j = 0; j < moneys[i].length; j++) {
				sum += moneys[i][j];

			}
			System.out.println("第" + (i + 1) + "年度总和为：" + sum);
		}

	}

}
